package com.etone.smartAudit.mapper;

import com.etone.smartAudit.domain.CertificateReply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.etone.smartAudit.vo.certificate.CertificateReplyVO;
import io.lettuce.core.dynamic.annotation.Param;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 回复意见  Mapper 接口
 * </p>
 *
 * @author jiayen
 * @since 2021-06-23
 */
@Mapper
public interface CertificateReplyMapper extends BaseMapper<CertificateReply> {

    /***
     * 获取回复列表
     * @param handId
     * @return
     */
    List<CertificateReplyVO> getReplyList(@Param("handId") Integer handId);

    /***
     * 获取存证单下所有回复
     * @param certifiFileId
     * @return
     */
    List<CertificateReplyVO> getReplyListByCertiFileId(@Param("certifiFileId") Integer certifiFileId);
}
